Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Long[].ExistSorted (gb)

Function ExistSorted ( Value As Long ) As Boolean

Since 3.16

Return if the specified value exists in the array.

This method only works if the array is sorted.

But it is faster than the Exist method as it uses a binary search algorithm.